import request from '../utils/request'

//一键删除
export const DeleteSelectedItem = (data) => {
    return request('/api/hsecheckRecord/deleteCheckPersons', {
        method: 'post',
        data
    })
}

// 获取角色列表
export const GetRoles = () => {
    return request('/api/hsecheckRecord/queryNameLikeQhsee')
}

// 查询
export const GetCheckPerson = (params) => {
    return request('/api/queryCheckPersonByName', {
        method: 'GET',
        params
    })
}

//修改HSE审核人员
export const UpdateCheckPerson = (data) => {
    return request(`/api/hsecheckRecord/updateCheckperson`, {
        method: 'post',
        data
    })
}